const getters = {
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  introduction: state => state.user.introduction,
  roles: state => state.user.roles,
  permissions: state => state.user.permissions,

  constantRoutes: state => state.router.constantRoutes,
  reallyRouteList: state => state.router.reallyRouteList,
}
export default getters
